package aip.ui.user.web.spring;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

import aip.core.model.user.User;

import com.googlecode.horncomb.bean.paged.PagedSettingContainer;
import com.googlecode.horncomb.bean.paged.PagedSetting;

/**
 * User list form
 * <p>
 * 负责人/principal:<br/>
 * 修改记录/revision:<br/>
 * 日期:<br/>
 * 修改人:<br/>
 * 修改说明:<br/>
 * @author
 * @version $Id$
 */
public class UserListForm implements PagedSettingContainer
{
    /** 分页信息 */
    private Map<String, PagedSetting> pagedSettingMap = new HashMap<String, PagedSetting>();

    /** 选中的Id */
    private Set<String> selectedIds = new HashSet<String>();

    private int state;

    private User user = new User();

    private int start = 0;

    private String likeDomain;

    public UserListForm()
    {
        super();
    }

    /**
     * {@inheritDoc}
     */
    public Map<String, PagedSetting> getPagedSettingMap()
    {
        return pagedSettingMap;
    }

    /**
     * @param pagedSettingMap
     *        the pagedSettingMap to set
     */
    public void setPagedSettingMap(Map<String, PagedSetting> pagedSettingMap)
    {
        this.pagedSettingMap = pagedSettingMap;
    }

    /**
     * @return the selectedIds
     */
    public Set<String> getSelectedIds()
    {
        return selectedIds;
    }

    /**
     * @param selectedIds
     *        the selectedIds to set
     */
    public void setSelectedIds(Set<String> selectedIds)
    {
        this.selectedIds = selectedIds;
    }

    /**
     * @return the state
     */
    public int getState()
    {
        return state;
    }

    /**
     * @param state
     *        the state to set
     */
    public void setState(int state)
    {
        this.state = state;
    }

    /**
     * @return the user
     */
    public User getUser()
    {
        return user;
    }

    /**
     * @param user
     *        the user to set
     */
    public void setUser(User user)
    {
        this.user = user;
    }

    /**
     * @return the start
     */
    public int getStart()
    {
        return start;
    }

    /**
     * @param start
     *        the start to set
     */
    public void setStart(int start)
    {
        this.start = start;
    }

    /**
     * @return the likeDomain
     */
    public String getLikeDomain()
    {
        return likeDomain;
    }

    /**
     * @param likeDomain
     *        the likeDomain to set
     */
    public void setLikeDomain(String likeDomain)
    {
        this.likeDomain = likeDomain;
    }
}
